<%@page import="com.gym.model.entity.User"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<!DOCTYPE html>
<html>
<head>
<link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}/css/form.css" />
<link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}/css/keyframes.css" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>index</title>

<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript"> google.load("jquery", "1"); </script>
</head>

<jsp:include page="/jsp/menu.jsp" />

<body>

<%
User user = (User)request.getSession().getAttribute("user");
String feedback = (String)request.getAttribute("feedback");

if(feedback!=null){%>
	<%=feedback%>
<%}%>
	
<%if(user!=null && user.isAdmin()){%>
	


<div style="float: left;" class="urbangreymenu">
	<h3 class="headerbar">AREA ADMIN</h3>
	<ul>
		<li><a href="vaiInsertTrainer.do">Inserisci Trainer</a></li>
		<li><a href="registrazione.do">Inserisci Customer</a></li>
		<li><a href="vaiInsertCourse.do">Inserisci Corso</a></li>
		<li><a href="dominiPayment.do">Gestione Pagamenti</a></li>
		<li><a href="dominiCustomer.do">Gestione Utenti</a></li>
	</ul>
</div>
	
	
	<!-- FINE MENU A TENDINA -->
<%}%>

<div id="show">
	<div class="img1 slide">
		<img width=800px height=430px src="img1.jpg" alt="img1" />
	</div>
	<div class="img2 slide">
		<img width=800px height=430px src="img2.jpg" alt="img2" />
	</div>
	<div class="img3 slide">
		<img width=800px height=430px src="img3.jpg" alt="img3" />
	</div>
	<div class="img4 slide">
		<img width=800px height=430px src="img5.jpg" alt="img5" />
	</div>
	<div class="img5 slide">
		<img width=800px height=430px src="img6.png" alt="img6" />
	</div>
</div>
<div id="footer">
	<p>&copy; 2014 Gym Project. All rights reserved.</p>
</div>
</body>
</html>